package com.znf4.banklink.facade;

import com.znf4.banklink.vo.CnpPayPreParam;
import com.znf4.banklink.vo.CnpPayPreResult;
import com.znf4.banklink.vo.CnpPayQueryParam;
import com.znf4.banklink.vo.CnpPayQueryResult;

/**
 * 微信扫码支付D0支付接口
 */
public interface CnpPayFacade {

    /**
     * 初始化支付,通过该方法获取支付链接.
     */
    public CnpPayPreResult cnpPay(CnpPayPreParam cnpPayPreParam);


    /**
     * 微信支付交易查询接口
     * @param cnpPayQueryParam
     * @return
     */
    public CnpPayQueryResult cnpPayQuery(CnpPayQueryParam cnpPayQueryParam);
}
